package org.hzy.dao;

import org.hibernate.Transaction;
import org.hzy.entity.Dept;

public class DeptImpl extends BaseDao<Dept>{
	public static void main(String[] args) {
		
		DeptImpl de=new DeptImpl();
		Transaction t=de.getSession().beginTransaction();
		System.out.println(de.get_object(10));
		t.commit();
	}
}
